package com.ruoyi.manage.service;

import java.util.List;
import com.ruoyi.manage.domain.FormSetting;
import com.ruoyi.manage.domain.SurgeryForm;

/**
 * 表单配置Service接口
 * 
 * @author zww
 * @date 2025-07-14
 */
public interface IFormSettingService 
{
    /**
     * 查询表单配置
     * 
     * @param formSettingId 表单配置主键
     * @return 表单配置
     */
    public FormSetting selectFormSettingByFormSettingId(Long formSettingId);

    /**
     * 查询表单配置列表
     * 
     * @param formSetting 表单配置
     * @return 表单配置集合
     */
    public List<FormSetting> selectFormSettingList(FormSetting formSetting);

    /**
     * 新增表单配置
     * 
     * @param formSetting 表单配置
     * @return 结果
     */
    public int insertFormSetting(FormSetting formSetting);

    /**
     * 修改表单配置
     * 
     * @param formSetting 表单配置
     * @return 结果
     */
    public int updateFormSetting(FormSetting formSetting);

    /**
     * 批量删除表单配置
     * 
     * @param formSettingIds 需要删除的表单配置主键集合
     * @return 结果
     */
    public int deleteFormSettingByFormSettingIds(Long[] formSettingIds);

    /**
     * 删除表单配置信息
     * 
     * @param formSettingId 表单配置主键
     * @return 结果
     */
    public int deleteFormSettingByFormSettingId(Long formSettingId);

    public FormSetting selectForm(SurgeryForm surgeryForm);
}
